home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / CIncludes / limits.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-21  |  686 b   |  34 lines  |  [TEXT/MPS ]

  1. /*
  2.     Limits.h -- Sizes of integral types 
  3.     
  4.     Copyright Apple Computer,Inc.    1987, 1990, 1994
  5.     All rights reserved.
  6.  
  7. */
  8.  
  9. #ifndef __LIMITS__
  10. #define __LIMITS__
  11.  
  12. #define CHAR_BIT    8
  13. #define CHAR_MAX    127
  14. /* #define CHAR_MIN    (-128) */
  15. #define CHAR_MIN    (-CHAR_MAX - 1)
  16. #define MB_LEN_MAX    1
  17. #define INT_MAX        2147483647
  18. /* #define INT_MIN    (-2147483648) */
  19. #define INT_MIN        (-INT_MAX - 1)
  20. #define LONG_MAX    2147483647
  21. /* #define LONG_MIN    (-2147483648) */
  22. #define LONG_MIN    (-LONG_MAX - 1)
  23. #define SCHAR_MAX    127
  24. #define SCHAR_MIN    (-128)
  25. #define SHRT_MAX    32767
  26. #define SHRT_MIN    (-32768)
  27. #define UCHAR_MAX    255U
  28. #define UINT_MAX    4294967295U
  29. #define ULONG_MAX    4294967295U
  30. #define USHRT_MAX    65535
  31.  
  32.  
  33. #endif
  34.